package com.roncoo.role.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuechuanhao
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Adminrole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色名字
     */
    @TableField("roleName")
    private String rolename;

    /**
     * 备注
     */
    private String text;

    /**
     * 0 正常 1禁用
     */
    private Integer state;

    /**
     * 权限id
     */
    @TableField("PermissionsId")
    private Integer permissionsid;


}
